<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>AWTK-JAVA: awtk.TSlideIndicator类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">AWTK-JAVA
   </div>
   <div id="projectbrief">AWTK JAVA API</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>awtk</b></li><li class="navelem"><a class="el" href="classawtk_1_1_t_slide_indicator.html">TSlideIndicator</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="classawtk_1_1_t_slide_indicator-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">awtk.TSlideIndicator类 参考</div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
类 awtk.TSlideIndicator 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classawtk_1_1_t_slide_indicator.png" alt=""/>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:ae8f5629ed7bf159c698ba59a44720e85"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_slide_indicator.html#ae8f5629ed7bf159c698ba59a44720e85">TSlideIndicator</a> (long nativeObj)</td></tr>
<tr class="separator:ae8f5629ed7bf159c698ba59a44720e85"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a5477310301d917ba622fbab882dbdc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_slide_indicator.html#a4a5477310301d917ba622fbab882dbdc">setValue</a> (int value)</td></tr>
<tr class="separator:a4a5477310301d917ba622fbab882dbdc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a12739de80db2cb03799d7cf6d8854c48"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_slide_indicator.html#a12739de80db2cb03799d7cf6d8854c48">setMax</a> (int max)</td></tr>
<tr class="separator:a12739de80db2cb03799d7cf6d8854c48"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac64098c0f0d3f14ae1dfd26f866b071c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_slide_indicator.html#ac64098c0f0d3f14ae1dfd26f866b071c">setDefaultPaint</a> (<a class="el" href="enumawtk_1_1_t_indicator_default_paint.html">TIndicatorDefaultPaint</a> default_paint)</td></tr>
<tr class="separator:ac64098c0f0d3f14ae1dfd26f866b071c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0760bbeb1fc201d432715ca070b71aab"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_slide_indicator.html#a0760bbeb1fc201d432715ca070b71aab">setAutoHide</a> (int auto_hide)</td></tr>
<tr class="separator:a0760bbeb1fc201d432715ca070b71aab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a29d12e7d38698cbe2792878ce0750629"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_slide_indicator.html#a29d12e7d38698cbe2792878ce0750629">setMargin</a> (int margin)</td></tr>
<tr class="separator:a29d12e7d38698cbe2792878ce0750629"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac7eba728d62cd4148c8c3e060a59706c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_slide_indicator.html#ac7eba728d62cd4148c8c3e060a59706c">setSpacing</a> (double spacing)</td></tr>
<tr class="separator:ac7eba728d62cd4148c8c3e060a59706c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af54b89b7c14a37ead82a2bc2a998fc5f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_slide_indicator.html#af54b89b7c14a37ead82a2bc2a998fc5f">setSize</a> (int size)</td></tr>
<tr class="separator:af54b89b7c14a37ead82a2bc2a998fc5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0db4040c3a97f1f2eef9211577bd8034"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_slide_indicator.html#a0db4040c3a97f1f2eef9211577bd8034">setAnchor</a> (String anchor_x, String anchor_y)</td></tr>
<tr class="separator:a0db4040c3a97f1f2eef9211577bd8034"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a97b4f20ce5822d5070373b08691c72fb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_slide_indicator.html#a97b4f20ce5822d5070373b08691c72fb">setIndicatedTarget</a> (String target_name)</td></tr>
<tr class="separator:a97b4f20ce5822d5070373b08691c72fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b8e1aaf722b43e032e67d6ba6980956"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_slide_indicator.html#a1b8e1aaf722b43e032e67d6ba6980956">setTransition</a> (boolean transition)</td></tr>
<tr class="separator:a1b8e1aaf722b43e032e67d6ba6980956"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a31396d2a70017f2db922afad58f49bea"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_slide_indicator.html#a31396d2a70017f2db922afad58f49bea">getMax</a> ()</td></tr>
<tr class="separator:a31396d2a70017f2db922afad58f49bea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a73cb40a523afda381b997a2718bf3659"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_t_indicator_default_paint.html">TIndicatorDefaultPaint</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_slide_indicator.html#a73cb40a523afda381b997a2718bf3659">getDefaultPaint</a> ()</td></tr>
<tr class="separator:a73cb40a523afda381b997a2718bf3659"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a205b4efc9324350fcf04b0af5510116f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_slide_indicator.html#a205b4efc9324350fcf04b0af5510116f">getAutoHide</a> ()</td></tr>
<tr class="separator:a205b4efc9324350fcf04b0af5510116f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa7ccc664421f0e621cd40c198e5c6d9d"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_slide_indicator.html#aa7ccc664421f0e621cd40c198e5c6d9d">getMargin</a> ()</td></tr>
<tr class="separator:aa7ccc664421f0e621cd40c198e5c6d9d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab50614a3d8b9a7e76e3c9bab54729c4f"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_slide_indicator.html#ab50614a3d8b9a7e76e3c9bab54729c4f">getSpacing</a> ()</td></tr>
<tr class="separator:ab50614a3d8b9a7e76e3c9bab54729c4f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0c9401c8024a71ff2e3ab24647f9fda"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_slide_indicator.html#ad0c9401c8024a71ff2e3ab24647f9fda">getSize</a> ()</td></tr>
<tr class="separator:ad0c9401c8024a71ff2e3ab24647f9fda"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa9c7288dfbcc86852b2f2b88ebd5dab4"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_slide_indicator.html#aa9c7288dfbcc86852b2f2b88ebd5dab4">getAnchorX</a> ()</td></tr>
<tr class="separator:aa9c7288dfbcc86852b2f2b88ebd5dab4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a87f94dbf5ea4f640ddd0fd856f5a8680"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_slide_indicator.html#a87f94dbf5ea4f640ddd0fd856f5a8680">getAnchorY</a> ()</td></tr>
<tr class="separator:a87f94dbf5ea4f640ddd0fd856f5a8680"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aacad6819aaaa0193b4cde5ebf46ddbac"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_slide_indicator.html#aacad6819aaaa0193b4cde5ebf46ddbac">getIndicatedTarget</a> ()</td></tr>
<tr class="separator:aacad6819aaaa0193b4cde5ebf46ddbac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf7d9ce7ffc57b51926b0245f3b14a1b"><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_slide_indicator.html#adf7d9ce7ffc57b51926b0245f3b14a1b">getTransition</a> ()</td></tr>
<tr class="separator:adf7d9ce7ffc57b51926b0245f3b14a1b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:a1501d57c4c8d7256b2cf99ba895b2285"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classawtk_1_1_t_slide_indicator.html">TSlideIndicator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_slide_indicator.html#a1501d57c4c8d7256b2cf99ba895b2285">cast</a> (long nativeObj)</td></tr>
<tr class="separator:a1501d57c4c8d7256b2cf99ba895b2285"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afae55d8fc7ed54ea44a282f8623707a6"><td class="memItemLeft" align="right" valign="top">static TWidget&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_slide_indicator.html#afae55d8fc7ed54ea44a282f8623707a6">create</a> (TWidget parent, int x, int y, int w, int h)</td></tr>
<tr class="separator:afae55d8fc7ed54ea44a282f8623707a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab0891ef835ac2b1a2630f6f6af7a899d"><td class="memItemLeft" align="right" valign="top">static TWidget&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_slide_indicator.html#ab0891ef835ac2b1a2630f6f6af7a899d">createLinear</a> (TWidget parent, int x, int y, int w, int h)</td></tr>
<tr class="separator:ab0891ef835ac2b1a2630f6f6af7a899d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c8c18e0f75f35250b8cacb91840e3bd"><td class="memItemLeft" align="right" valign="top">static TWidget&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_slide_indicator.html#a0c8c18e0f75f35250b8cacb91840e3bd">createArc</a> (TWidget parent, int x, int y, int w, int h)</td></tr>
<tr class="separator:a0c8c18e0f75f35250b8cacb91840e3bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af22e7508b1d6ad127b4da689dd6b076c"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classawtk_1_1_t_slide_indicator.html">TSlideIndicator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_t_slide_indicator.html#af22e7508b1d6ad127b4da689dd6b076c">cast</a> (TWidget widget)</td></tr>
<tr class="separator:af22e7508b1d6ad127b4da689dd6b076c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>slide_view的指示器控件。</p>
<blockquote class="doxtable">
<p>支持直线、弧线排布，默认有4种绘制样式，若设置了icon/active_icon，则优先使用icon/active_icon </p>
</blockquote>
<p>slide_indicator_t是widget\_t的子类控件，widget_t的函数均适用于slide_indicator_t控件。</p>
<p>在xml中使用"slide\_indicator"或"slide\_indicator\_arc"标签创建指示器控件。如：</p>
<div class="fragment"><div class="line">*&lt;<span class="keywordtype">slide_view</span> <span class="keyword">name</span>=<span class="stringliteral">&quot;view&quot;</span> <span class="keyword">x</span>=<span class="stringliteral">&quot;0&quot;</span>  <span class="keyword">y</span>=<span class="stringliteral">&quot;0&quot;</span> <span class="keyword">w</span>=<span class="stringliteral">&quot;100%&quot;</span> <span class="keyword">h</span>=<span class="stringliteral">&quot;100%&quot;</span>&gt;</div>
<div class="line">*...</div>
<div class="line">*&lt;/<span class="keywordtype">slide_view</span>&gt;</div>
<div class="line">*&lt;<span class="keywordtype">slide_indicator</span> <span class="keyword">name</span>=<span class="stringliteral">&quot;indicator&quot;</span> <span class="keyword">x</span>=<span class="stringliteral">&quot;right&quot;</span> <span class="keyword">y</span>=<span class="stringliteral">&quot;0&quot;</span> <span class="keyword">w</span>=<span class="stringliteral">&quot;6&quot;</span> <span class="keyword">h</span>=<span class="stringliteral">&quot;100%&quot;</span>/&gt;</div>
</div><!-- fragment --><blockquote class="doxtable">
<p>更多用法请参考：<a href="&lt;/blockquote&gt; https://github.com/zlgopen/awtk/blob/master/design/default/ui/slide_view.xml">slide_view.xml</a></p>
<p>在c代码中使用函数slide_indicator_create创建指示器控件。如：</p>
<div class="fragment"><div class="line">*&lt;<span class="keywordtype">style</span> <span class="keyword">name</span>=<span class="stringliteral">&quot;default&quot;</span>&gt;</div>
<div class="line">*&lt;<span class="keywordtype">normal</span> <span class="keyword">fg_color</span>=<span class="stringliteral">&quot;#FFFFFF80&quot;</span> <span class="keyword">selected_fg_color</span>=<span class="stringliteral">&quot;#FFFFFF&quot;</span>/&gt;</div>
<div class="line">*&lt;/<span class="keywordtype">style</span>&gt;</div>
</div><!-- fragment --><blockquote class="doxtable">
<p>更多用法请参考：<a href="&lt;/blockquote&gt; https://github.com/zlgopen/awtk/blob/master/design/default/styles/default.xml#L350">theme default</a> </p>
</blockquote>
</blockquote>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="ae8f5629ed7bf159c698ba59a44720e85"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae8f5629ed7bf159c698ba59a44720e85">&#9670;&nbsp;</a></span>TSlideIndicator()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">awtk.TSlideIndicator.TSlideIndicator </td>
          <td>(</td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>nativeObj</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>通过nativeObj构造Java对象。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">nativeObj</td><td>原生对象。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>对应的Java对象。 </dd></dl>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="a1501d57c4c8d7256b2cf99ba895b2285"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1501d57c4c8d7256b2cf99ba895b2285">&#9670;&nbsp;</a></span>cast() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classawtk_1_1_t_slide_indicator.html">TSlideIndicator</a> awtk.TSlideIndicator.cast </td>
          <td>(</td>
          <td class="paramtype">long&#160;</td>
          <td class="paramname"><em>nativeObj</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>把nativeObj转换层Java对象。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">nativeObj</td><td>原生对象。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>对应的Java对象。 </dd></dl>

</div>
</div>
<a id="af22e7508b1d6ad127b4da689dd6b076c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af22e7508b1d6ad127b4da689dd6b076c">&#9670;&nbsp;</a></span>cast() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classawtk_1_1_t_slide_indicator.html">TSlideIndicator</a> awtk.TSlideIndicator.cast </td>
          <td>(</td>
          <td class="paramtype">TWidget&#160;</td>
          <td class="paramname"><em>widget</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>转换为slide_indicator对象(供脚本语言使用)。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">widget</td><td>slide_indicator对象。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>slide_indicator对象。 </dd></dl>

</div>
</div>
<a id="afae55d8fc7ed54ea44a282f8623707a6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afae55d8fc7ed54ea44a282f8623707a6">&#9670;&nbsp;</a></span>create()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static TWidget awtk.TSlideIndicator.create </td>
          <td>(</td>
          <td class="paramtype">TWidget&#160;</td>
          <td class="paramname"><em>parent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>w</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>h</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>创建slide_indicator对象</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">parent</td><td>父控件 </td></tr>
    <tr><td class="paramname">x</td><td>x坐标 </td></tr>
    <tr><td class="paramname">y</td><td>y坐标 </td></tr>
    <tr><td class="paramname">w</td><td>宽度 </td></tr>
    <tr><td class="paramname">h</td><td>高度</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>对象。 </dd></dl>

</div>
</div>
<a id="a0c8c18e0f75f35250b8cacb91840e3bd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0c8c18e0f75f35250b8cacb91840e3bd">&#9670;&nbsp;</a></span>createArc()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static TWidget awtk.TSlideIndicator.createArc </td>
          <td>(</td>
          <td class="paramtype">TWidget&#160;</td>
          <td class="paramname"><em>parent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>w</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>h</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>创建slide_indicator对象（圆弧显示）</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">parent</td><td>父控件 </td></tr>
    <tr><td class="paramname">x</td><td>x坐标 </td></tr>
    <tr><td class="paramname">y</td><td>y坐标 </td></tr>
    <tr><td class="paramname">w</td><td>宽度 </td></tr>
    <tr><td class="paramname">h</td><td>高度</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>对象。 </dd></dl>

</div>
</div>
<a id="ab0891ef835ac2b1a2630f6f6af7a899d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab0891ef835ac2b1a2630f6f6af7a899d">&#9670;&nbsp;</a></span>createLinear()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static TWidget awtk.TSlideIndicator.createLinear </td>
          <td>(</td>
          <td class="paramtype">TWidget&#160;</td>
          <td class="paramname"><em>parent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>w</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>h</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>创建slide_indicator对象（线性显示）</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">parent</td><td>父控件 </td></tr>
    <tr><td class="paramname">x</td><td>x坐标 </td></tr>
    <tr><td class="paramname">y</td><td>y坐标 </td></tr>
    <tr><td class="paramname">w</td><td>宽度 </td></tr>
    <tr><td class="paramname">h</td><td>高度</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>对象。 </dd></dl>

</div>
</div>
<a id="aa9c7288dfbcc86852b2f2b88ebd5dab4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa9c7288dfbcc86852b2f2b88ebd5dab4">&#9670;&nbsp;</a></span>getAnchorX()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String awtk.TSlideIndicator.getAnchorX </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>锚点x坐标。(后面加上px为像素点，不加px为相对百分比坐标0.0f到1.0f) </p>

</div>
</div>
<a id="a87f94dbf5ea4f640ddd0fd856f5a8680"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a87f94dbf5ea4f640ddd0fd856f5a8680">&#9670;&nbsp;</a></span>getAnchorY()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String awtk.TSlideIndicator.getAnchorY </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>锚点y坐标。(后面加上px为像素点，不加px为相对百分比坐标0.0f到1.0f) </p>

</div>
</div>
<a id="a205b4efc9324350fcf04b0af5510116f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a205b4efc9324350fcf04b0af5510116f">&#9670;&nbsp;</a></span>getAutoHide()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int awtk.TSlideIndicator.getAutoHide </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>自动隐藏。0表示禁止，非0表示无操作后延迟多久隐藏。 </p>

</div>
</div>
<a id="a73cb40a523afda381b997a2718bf3659"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a73cb40a523afda381b997a2718bf3659">&#9670;&nbsp;</a></span>getDefaultPaint()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_t_indicator_default_paint.html">TIndicatorDefaultPaint</a> awtk.TSlideIndicator.getDefaultPaint </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>指示器的类型。 </p>

</div>
</div>
<a id="aacad6819aaaa0193b4cde5ebf46ddbac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aacad6819aaaa0193b4cde5ebf46ddbac">&#9670;&nbsp;</a></span>getIndicatedTarget()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String awtk.TSlideIndicator.getIndicatedTarget </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>指示器指示的目标控件的名称。 </p>

</div>
</div>
<a id="aa7ccc664421f0e621cd40c198e5c6d9d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa7ccc664421f0e621cd40c198e5c6d9d">&#9670;&nbsp;</a></span>getMargin()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int awtk.TSlideIndicator.getMargin </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>指示器与边缘的边距。 </p>

</div>
</div>
<a id="a31396d2a70017f2db922afad58f49bea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a31396d2a70017f2db922afad58f49bea">&#9670;&nbsp;</a></span>getMax()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int awtk.TSlideIndicator.getMax </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>最大值(缺省为100)。 </p>

</div>
</div>
<a id="ad0c9401c8024a71ff2e3ab24647f9fda"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad0c9401c8024a71ff2e3ab24647f9fda">&#9670;&nbsp;</a></span>getSize()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int awtk.TSlideIndicator.getSize </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>指示器的大小。 </p>

</div>
</div>
<a id="ab50614a3d8b9a7e76e3c9bab54729c4f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab50614a3d8b9a7e76e3c9bab54729c4f">&#9670;&nbsp;</a></span>getSpacing()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double awtk.TSlideIndicator.getSpacing </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>指示器的中心之间的间距（圆弧显示时，间距的单位为弧度，否则为像素）。 </p>

</div>
</div>
<a id="adf7d9ce7ffc57b51926b0245f3b14a1b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adf7d9ce7ffc57b51926b0245f3b14a1b">&#9670;&nbsp;</a></span>getTransition()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">boolean awtk.TSlideIndicator.getTransition </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>是否启用过渡效果。 </p>

</div>
</div>
<a id="a0db4040c3a97f1f2eef9211577bd8034"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0db4040c3a97f1f2eef9211577bd8034">&#9670;&nbsp;</a></span>setAnchor()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a> awtk.TSlideIndicator.setAnchor </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>anchor_x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>anchor_y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置旋转锚点。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">anchor_x</td><td>锚点坐标x。(后面加上px为像素点，不加px为相对百分比坐标) </td></tr>
    <tr><td class="paramname">anchor_y</td><td>锚点坐标y。(后面加上px为像素点，不加px为相对百分比坐标)</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="a0760bbeb1fc201d432715ca070b71aab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0760bbeb1fc201d432715ca070b71aab">&#9670;&nbsp;</a></span>setAutoHide()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a> awtk.TSlideIndicator.setAutoHide </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>auto_hide</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置指示器是否自动隐藏。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">auto_hide</td><td>0表示禁止，非0表示无操作后延迟多久隐藏。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="ac64098c0f0d3f14ae1dfd26f866b071c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac64098c0f0d3f14ae1dfd26f866b071c">&#9670;&nbsp;</a></span>setDefaultPaint()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a> awtk.TSlideIndicator.setDefaultPaint </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="enumawtk_1_1_t_indicator_default_paint.html">TIndicatorDefaultPaint</a>&#160;</td>
          <td class="paramname"><em>default_paint</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置指示器的默认绘制类型。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">default_paint</td><td>默认绘制类型。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="a97b4f20ce5822d5070373b08691c72fb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a97b4f20ce5822d5070373b08691c72fb">&#9670;&nbsp;</a></span>setIndicatedTarget()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a> awtk.TSlideIndicator.setIndicatedTarget </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>target_name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置指示器指示的目标。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">target_name</td><td>指示器指示的目标控件的名称</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="a29d12e7d38698cbe2792878ce0750629"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a29d12e7d38698cbe2792878ce0750629">&#9670;&nbsp;</a></span>setMargin()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a> awtk.TSlideIndicator.setMargin </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>margin</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置指示器的边距(默认为10像素)。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">margin</td><td>指示器的边距。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="a12739de80db2cb03799d7cf6d8854c48"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a12739de80db2cb03799d7cf6d8854c48">&#9670;&nbsp;</a></span>setMax()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a> awtk.TSlideIndicator.setMax </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>max</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置指示器的数量。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">max</td><td>数量。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="af54b89b7c14a37ead82a2bc2a998fc5f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af54b89b7c14a37ead82a2bc2a998fc5f">&#9670;&nbsp;</a></span>setSize()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a> awtk.TSlideIndicator.setSize </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>size</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置指示器的大小(默认为8)。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">size</td><td>指示器的大小。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="ac7eba728d62cd4148c8c3e060a59706c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac7eba728d62cd4148c8c3e060a59706c">&#9670;&nbsp;</a></span>setSpacing()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a> awtk.TSlideIndicator.setSpacing </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>spacing</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置指示器的间距(指示器有弧度时为角度值，否则为直线间距)。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">spacing</td><td>指示器的间距。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="a1b8e1aaf722b43e032e67d6ba6980956"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1b8e1aaf722b43e032e67d6ba6980956">&#9670;&nbsp;</a></span>setTransition()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a> awtk.TSlideIndicator.setTransition </td>
          <td>(</td>
          <td class="paramtype">boolean&#160;</td>
          <td class="paramname"><em>transition</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置是否启用过渡效果。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">transition</td><td>是否启用过渡效果</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="a4a5477310301d917ba622fbab882dbdc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4a5477310301d917ba622fbab882dbdc">&#9670;&nbsp;</a></span>setValue()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_t_ret.html">TRet</a> awtk.TSlideIndicator.setValue </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置当前页的序号。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>当前项的序号。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>output/TSlideIndicator.java</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>
